package com.book.book.dao;

import com.book.book.domain.WantSeeDO;

import java.util.List;
import java.util.Map;

import com.book.iphone.domain.WashDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户心愿表
 * @author siyuan
 * @email 894266364@qq.com
 * @date 2018-01-30 16:51:09
 */
@Mapper
public interface WantSeeDao {

	WantSeeDO get(Integer id);

	List<WantSeeDO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(WantSeeDO wantSee);

	int update(WantSeeDO wantSee);

	int remove(Integer id);

	int batchRemove(Integer[] ids);

	List<WantSeeDO> listWithUserInfo(Map<String, Object> map);

	List<WashDo> listPersonalWishByUserId(@Param("userId") String userId);
}
